package com.sphd.emanu.activity.orgsetting;

import android.content.Context;

import com.sphd.emanu.mvp.BasePresenter;
import com.sphd.emanu.mvp.BaseView;
import com.sphd.emanu.pojo.login.Org;

import java.util.Date;

import okhttp3.MultipartBody;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class OrgSettingContract {
    interface View extends BaseView {

        void setBean(Org org);

        void setRes(int res);
    }

    interface Presenter extends BasePresenter<View> {
        void selectOrg(Integer org);

        void updateOrg(Integer id, String name, String address, String phone, String openingTime, String closingTime, double xwgs84,
                       double ywgs84,
                       String description,
                       MultipartBody.Part photo);

        void updateOrg(Integer id, String name, String address, String phone, String openingTime, String closingTime, double xwgs84,
                       double ywgs84,
                       String description);

    }
    //
}
